auto merge of #282 : alexcrichton/cargo/fix-some-cross-compile-with-plugins, r=wycats
authorbors <bors@rust-lang.org>
Tue, 29 Jul 2014 00:14:32 +0000 (00:14 +0000)
committerbors <bors@rust-lang.org>
Tue, 29 Jul 2014 00:14:32 +0000 (00:14 +0000)
commitcb8761c55d4a0dc7d8eb4d4d6c147bbcb0ad4657
tree9f4346272b5e4465a348a977cce194a3a3d886e8
parent53059f4e3bbd7b9f1e02c7c8ff036d07988feda3
parent6f2173dc9f61074a7277c599fd1f3047b1aad9dd
auto merge of #282 : alexcrichton/cargo/fix-some-cross-compile-with-plugins, r=wycats

* Make sure plugins link to plugin dependencies, not target dependencies.
  Previously the --extern flag was being passed incorrectly but the dependency
  was being picked up by -L anyway.

* Fix a type and actually put the host dep directory into LD_LIBRARY_PATH, not
  the target directory. A test was added for this change.